package net.maku.module.organization.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.EqualsAndHashCode;
import net.maku.newbase.NewBaseEntity;

/**
 * 职位 实体
 *
 * @author JYL
 */
@EqualsAndHashCode(callSuper = false)
@Data
@TableName("b_position")
public class PositionEntity extends NewBaseEntity {
    //职位名称
    private String name;
    //职位编码
    private String code;
    //所属组织
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long organizationId;
    //职位类别
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long positionType;
    //对应职务
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long jobId;
    //对应职级
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private Long jobLevel;
    //描述
    private String description;
    //职位状态
    private Integer isEnable;
}
